<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">
						<input id="id" name="id" th:value="${carInfo.id}"  type="hidden">
							<div class="form-group">	
								<label class="col-sm-3 control-label">车牌号：</label>
								<div class="col-sm-8">
									<input id="carNo" name="carNo" th:value="${carInfo.carNo}" class="form-control" type="text" readonly>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">用户手机号：</label>
								<div class="col-sm-8">
									<input id="mobile" name="carName" th:value="${carInfo.mobile}" class="form-control" type="text" readonly>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">用户身份证号：</label>
								<div class="col-sm-8">
									<input id="cardCode" name="cardCode" th:value="${carInfo.cardCode}" class="form-control" type="text" readonly>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">小区名字：</label>
								<div class="col-sm-8">
									<input type="hidden" th:value="${carInfo.communityId}" name="communityId"/>
									<input id="communityName" name="communityName" th:value="${carInfo.communityName}" class="form-control" type="text" readonly>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">审核状态：</label>
								<div class="col-sm-8">
									<!--<label class="radio-inline"> <input
											th:field="*{carInfo.auditStatus}" type="radio" name="status" value="1" />
										待审核
									</label>-->
									<label class="radio-inline"> <input
											 checked type="radio" name="auditStatus" value="2" />
										审核通过
									</label>
									<label class="radio-inline"> <input
											 type="radio" name="auditStatus" value="3" />
										审核拒绝
									</label>
								</div>
							</div>

							<div class="form-group">
								<label class="col-sm-3 control-label">类型：</label>
								<div class="col-sm-8">
									<label class="radio-inline">
										<input type="radio" onclick="changeRule(1)" name="type" value="1" checked/>
										月租
									</label>
									<label class="radio-inline">
										<input type="radio" onclick="changeRule(2)" name="type" value="2" />
										季租
									</label>
									<label class="radio-inline">
										<input type="radio" onclick="changeRule(3)" name="type" value="3" />
										年租
									</label>
								</div>
							</div>

							<div class="form-group" id="monthDiv">
								<label class="col-sm-3 control-label">价格：</label>
								<div class="col-sm-3">
									<select id="priceMonthId" name="priceMonthId" readonly="readonly" class="form-control">
										<option th:each="c:${priceMonthList}"  th:value="${c.id}" th:text="${c.amt} + '元'"></option>
									</select>
								</div>
								<div class="col-sm-6" style="margin-top:7px">
									<span style="font-size:12px;color:palevioletred">备注：如果此处没有金额，请到小区管理绑定计费规则</span>
								</div>
							</div>
							<div class="form-group" id="seasonDiv" style="display:none">
								<label class="col-sm-3 control-label">价格：</label>
								<div class="col-sm-3">
									<select id="priceSeasonId" name="priceSeasonId" readonly="readonly" class="form-control">
										<option th:each="c:${priceSeasonList}"  th:value="${c.id}" th:text="${c.amt} + '元'"></option>
									</select>
								</div>
								<div class="col-sm-6" style="margin-top:7px">
									<span style="font-size:12px;color:palevioletred">备注：如果此处没有金额，请到小区管理绑定计费规则</span>
								</div>
							</div>
							<div class="form-group" id="yearDiv" style="display:none">
								<label class="col-sm-3 control-label">价格：</label>
								<div class="col-sm-3">
									<select id="priceYearId" name="priceYearId" readonly="readonly" class="form-control">
										<option th:each="c:${priceYearList}"  th:value="${c.id}" th:text="${c.amt} + '元'"></option>
									</select>
								</div>
								<div class="col-sm-6" style="margin-top:7px">
									<span style="font-size:12px;color:palevioletred">备注：如果此处没有金额，请到小区管理绑定计费规则</span>
								</div>
							</div>

							<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
	</div>
	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" src="/js/appjs/car/carInfo/edit.js">
	</script>
</body>
</html>
